OnSuggestionListener

Callback interface for selection events on suggestions. These callbacks are only relevant when a SearchableInfo has been specified by setSearchableInfo.

Functions

Link copied to clipboard
abstract fun onSuggestionClick(position: Int): Boolean
Called when a suggestion was clicked.
Link copied to clipboard
abstract fun onSuggestionSelect(position: Int): Boolean
Called when a suggestion was selected by navigating to it.